{% extends 'base.html' %}
{% load static %}
{% block css %}
    <link href="{% static 'bootstrap-3.3.7/css/signin.css' %}" rel="stylesheet">
{% endblock %}
{% block body %}
    <div class="container">

      <form class="form-signin" method="post">
          {% csrf_token %}
        <h2 class="form-signin-heading">请登录</h2>
        <label for="inputEmail" class="sr-only">邮箱</label>
        <input type="text" id="inputEmail" class="form-control" name="username" placeholder="邮箱/用户名" required="" autofocus="">
        <label for="inputPassword" class="sr-only">密码</label>
        <input type="password" id="inputPassword" name="password" class="form-control" placeholder="密码" required="">
          <p style="color: coral">{{ login_msg }}</p>
        <div class="checkbox">
          <label>
            <input type="checkbox" value="remember-me"> 记住我
          </label>
        </div>
        <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
      </form>

    </div> <!-- /container -->


{% endblock %}